/* 产品列表样式表 */


/* 模块三 : 主体 :产品列表 */

main {
    background-color: #f7f7f7;
}


/* 面包屑 */

.breadcrumb {
    padding-top: 40px;
    color: #ccc;
    font-size: 14px;
}

.breadcrumb li {
    float: left;
    margin-right: 8px;
}

.breadcrumb li a {
    color: #333;
    margin-right: 8px;
}

.breadcrumb li:last-child {
    color: #777;
}

.navigation_link {
    margin: 15px 0;
    background-color: #fff;
    border: 1px solid #ccc;
}

.sort_link {
    border-bottom: 1px solid #e0e0e0;
}

.navigation_link h6 {
    float: left;
    width: 85px;
    line-height: 40px;
    text-align: center;
    background-color: #eee;
    /* border-bottom: 1px solid #f0f0f0; */
}

.navigation_link a {
    color: #333;
    padding: 0 5px;
    margin: 0 25px;
    line-height: 40px;
}

.navigation_link a:hover {
    color: #ed1c24
}

.navigation_link .brand_link .brand_link_on {
    color: #fff;
    background-color: #ed1c24;
    border-radius: 5px;
}

.goods_list {
    padding-bottom: 30px;
}

.panel {
    background-color: #eee;
}

.panel a {
    display: inline-block;
    width: 80px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #333;
}

.panel a:nth-child(2)::after,
.panel a:nth-child(4)::after,
.panel a:nth-child(5)::after {
    font-family: 'icomoon';
    content: "\ea3a";
    font-size: 12px;
    font-weight: bold;
}

.panel a:nth-child(3)::after {
    font-family: 'icomoon';
    content: "\ea3e";
    font-size: 12px;
    font-weight: bold;
}

.panel .panel_on {
    border-top: 2px solid #da2a2a;
    color: #da2a2a;
    background-color: #fff;
}

.panel .page {
    float: right;
    margin: 14px 35px 0 0;
    font-size: 12px;
}

.commodities li {
    float: left;
    position: relative;
    margin-top: 20px;
    width: 270px;
    height: 340x;
    padding: 25px 10px;
    margin-right: 20px;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fff;
}

.commodities li:hover {
    box-shadow: 0 10px 35px rgb(0 0 0 / 20%);
    /* 盒子上移1px */
    transform: translateY(-1px);
    transition: all .5s;
}

.commodities li:nth-child(4n) {
    margin-right: 0px;
}

.commodities li>a {
    display: block;
    width: 250px;
    height: 190px;
    margin-bottom: 20px;
}

.commodities li>a img {
    width: 190px;
}

.commodities li>a h4 {
    font-size: 16px;
    color: #333;
}

.commodities li p {
    color: #989898;
    line-height: 38px;
}

.commodities li em {
    font-style: normal;
    color: #ed1c24;
}

.commodities li span {
    color: #ed1c24;
}

.commodities .goods {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff;
    width: 270px;
    height: 50px;
    opacity: 0;
}

.commodities li:hover span,
.commodities li:hover em {
    opacity: 0;
}

.commodities li:hover .goods {
    opacity: 1;
    transition: all 0.5s;
}

.commodities .goods button {
    width: 88px;
    height: 28px;
    cursor: pointer;
}

.commodities .goods .addgoods {
    border: 1px solid #ed1c24;
    color: #ed1c24;
}

.commodities .goods .buygoods {
    border: 1px solid #fff;
    background-color: #ed1c24;
    color: #fff;
}